﻿using System;
using System.IO;
using System.ServiceModel;
using NCMIS.AccessControl;

namespace NCMIS.ServiceModel.Ra
{
    public partial interface IService
    {
        [IncludeXmlDeclaration]
        [OperationContract(Name = "getACL")]
        Acl GetAcl(string repositoryId, string objectId);

        [IncludeXmlDeclaration]
        [OperationContract(Name = "applyACL")]
        Acl ApplyAcl(string repositoryId, string objectId, Stream stream);
    }
}
